//
//  EPViewController.h
//  Epweike_Witkey
//
//  Created by Mac on 15/7/29.
//  Copyright (c) 2015年 zengxusheng. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NavigationView.h"

/*
 *  自定义的基控制器
 */
@interface EPViewController : UIViewController

@property (strong, nonatomic) NavigationView *navigationView;

//纯文字
- (void)createLeftBarButtonTitle:(NSString  *)title;
- (void)createRightBarButtonTitle:(NSString *)title;

//图片
- (void)createLeftBarButtonImgName:(NSString  *)img highlightImgName:(NSString  *)highImg;
- (void)createRightBarButtonImgName:(NSString *)img highlightImgName:(NSString  *)highImg;

//右侧图片+文字
- (void)createRightBarButtonWithBgImgName:(NSString *)bgImgName titleName:(NSString *)titleName;
//导航栏右侧双按钮（一个文字,一个图片）
- (void)createRightBarButtonWithTitleName:(NSString *)titleName bgImgName:(NSString *)bgImgName;
//右侧双图片
- (void)createRightBarButtonWithFirstBgImgName:(NSString *)firstBgImgName secondBgImgName:(NSString *)secondBgImgName;

/*
 *  按钮触发的方法
 */
- (void)leftBarButtonClick:(UIButton *)btn;     //左侧按钮
- (void)rightBarButtonClick:(UIButton *)btn;    //右侧按钮

- (void)firstRightBarButtonItemClick:(UIBarButtonItem *)btn;    //右侧第一个
- (void)secondRightBarButtonItemClick:(UIBarButtonItem *)btn;   //右侧第二个

@end
